PB-smodels a Pseudo-Boolean Solver
نویسنده
چکیده
A pseudo-boolean constraint (PB-constraint) is a linear inequality with 0-1 variables and integer coefficients. Search problems can be modeled as sets of PB-constraints, so that, solutions to a set of PB-constraints map to solutions of the search problem. An optimization problem can be modeled using a set of PB-constraints along with an optimization statement over a set of 0-1 variables. Pseudo-boolean solvers (PB-solvers) are programs designed to find solutions to a set of PB-constraints, and hence can be used to solve search problems. PBS4 (Aloul 2005), MiniSat+ (Eén & Sörensson 2005), BSOLO (Manquinho & Marques-Silva 2005) and Pueblo (Sheini & Sakallah 2005) are recent PB-solvers. Our contribution is to show that smodels, a solver originally designed to solve search problems encoded as logic programs with weight constraints (Niemelä & Simons 1997), can be used as a competitive PB-solver. We call this PB-solver PB-smodels. PB-smodels uses a procedure we designed, PB2smodels, to translate a set of PB-constraints into a logic program that is accepted by smodels. We show that solutions of a search problem modeled as a set of PB-constraints T correspond to stable models of the logic program P (T ) produced from T by PB2smodels. We compare the performance of PB-smodels with two PB-solvers MiniSat+ and Pueblo on search problems encoded as sets of PB-constraints. In particular, we compare PB-smodels to MiniSat+ and Pueblo on benchmarks obtained from PB 2005 competition (Manquinho & Roussel 2006). We also compare the PB-solvers on benchmarks derived from randomly generated instances of problems such as weighted N-queens, traveling salesperson problem (TSP), blocked N-queens and weighted dominating set problem.
منابع مشابه
Pueblo: A Hybrid Pseudo-Boolean SAT Solver
This paper introduces a new hybrid method for efficiently integrating Pseudo-Boolean (PB) constraints into generic SAT solvers in order to solve PB satisfiability and optimization problems. To achieve this, we adopt the cutting-plane technique to draw inferences among PB constraints and combine it with generic implication graph analysis for conflictinduced learning. Novel features of our approa...
متن کاملLearning Techniques for Pseudo-Boolean Solving
The extension of conflict-based learning from Propositional Satisfiability (SAT) solvers to Pseudo-Boolean (PB) solvers comprises several different learning schemes. However, it is not commonly agreed among the research community which learning scheme should be used in PB solvers. Hence, this paper presents a contribution by providing an exhaustive comparative study between several different le...
متن کاملCLP(PB), A Meta-Interpreter in CLP(R)
Constraint logic programming is one of the most attractive research areas in logic programming. Due to [JL87] the theoretical foundation of a general constraint logic programming language scheme CLP(X ) is available. Unfortunately, implementing a CLP(X ) system for some domain X is a difficult task. The problematic points are providing a constraint solver and ensuring the incrementality of the ...
متن کاملPBLib – A C++ Toolkit for Encoding Pseudo-Boolean Constraints into CNF
Many different encodings for PB constraints into conjunctive normal form (CNF) have been proposed in the past. The PBLib project starts to collect and implement these encodings to be able to encode PB constraints in a very simple, but effective way. The aim is not only to generate as few clauses as possible, but also using encodings that maintain generalized arc consistency by unit propagation,...
متن کاملAutomatically Exploiting Symmetries in Constraint Programming
We introduce a framework for studying and solving a class of CSP formulations. The framework allows constraints to be expressed as linear and non-linear equations, then compiles them into SAT instances via Boolean logic circuits. While in general reduction to SAT may lead to the loss of structure, we specifically detect several types of structure in high-level input and use them in compilation....
متن کامل